package com.market.goods.dao.mongo;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Table;
import java.io.Serializable;

@ToString
@Data
@Document(collection="baseCategory1")
public class BaseCategory1 {
    /**
     * 主键Id
     */
    private Long id;

    /**
     * 分类名称
     */
    private String name;

}